package com.ocm.commerceinteraction.model;

import org.litepal.crud.DataSupport;

import java.util.List;

/**
 * Created by Curry on 2016-5-2.
 */
public class CenterMessage extends DataSupport {

    private long msgId;
    /**
     * 用户ID
     */
    private int userId;
    //  action 说明 1 删除好友 2 好友添加请求 3同意好友添加请求 4拒绝了好友添加请求
    // 5邀请加入某群 6拒绝加入群 7 用户拒绝加入群 8用户请求加入群 9 管理员解散了群
    private String type;
    private String sender;
    private String content;
    private String group_uniq_id;
    private String huanxing_groupid;
    private String keywords;
    //0未处理   1：已处理
    private int state = 0;

    private int typeFlag = -1;//0:申请  1:通知  -1:默认

    private long creatTime;

    public long getMsgId() {
        return msgId;
    }

    public void setMsgId(long msgId) {
        this.msgId = msgId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getGroup_uniq_id() {
        return group_uniq_id;
    }

    public void setGroup_uniq_id(String group_uniq_id) {
        this.group_uniq_id = group_uniq_id;
    }

    public String getHuanxing_groupid() {
        return huanxing_groupid;
    }

    public void setHuanxing_groupid(String huanxing_groupid) {
        this.huanxing_groupid = huanxing_groupid;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(long creatTime) {
        this.creatTime = creatTime;
    }

    public int getTypeFlag() {
        return typeFlag;
    }

    public void setTypeFlag(int typeFlag) {
        this.typeFlag = typeFlag;
    }
}
